]> dgit.raspbian.org Git - gnome-shell.git/commit
st/scroll-bar: Port scroll bar scrolling to use ClutterGesture
authorJonas Dreßler <verdre@v0yd.nl>
Sat, 6 Aug 2022 12:46:50 +0000 (14:46 +0200)
committerCarlos Garnacho <carlosg@gnome.org>
Thu, 28 Aug 2025 17:14:06 +0000 (19:14 +0200)
commit4541663470954a62b2071fd8a93d904ff9b0eb9c
tree5a485afb296b1d7454f4974793fbfe5aac270c24
parent38e05347c0db365fdded8515f5239f6b46f3b104
st/scroll-bar: Port scroll bar scrolling to use ClutterGesture

Avoid the troublesome event handling here and replace it with two
ClutterPanGestures, one for the trough and one for the handle.

This is a fairly non-intrusive port, there's room for a lot of
improvements, for example making the trough react to motion events too
should be fairly easy now.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2853>
src/st/st-scroll-bar.c